$(document).ready(function(){
     $("#center").html("loading......");
     var date = new Date();
     var year = date.getFullYear();
     var month = parseInt(date.getMonth())+1;
     var day = date.getDate();
     var time=year+"-"+month+"-"+day;
     $.get("http://localhost:8080/epower-site-webapp-1.0.0/jsonepowermainword/getEpowerWordForDay.action?date="+time,null,function(response){
	  if(response.resultCode==1){
	        var content = response.result.centerContent;
	        if(content!=null){
		   $("#center").html(content);
		}
		return;
	   }
	  alert("����ʧ��");
    });

});
